Optimal. Leaf size=27 \[ -\frac {\tanh ^{-1}\left (\sqrt {a^2+2 a b x+b^2 x^2+1}\right )}{b} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {688, 208} \begin {gather*} -\frac {\tanh ^{-1}\left (\sqrt {a^2+2 a b x+b^2 x^2+1}\right )}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 208
Rule 688
Rubi steps
\begin {align*} \int \frac {1}{(a+b x) \sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx &=\left (4 b^2\right ) \operatorname {Subst}\left (\int \frac {1}{4 a^2 b^3-4 \left (1+a^2\right ) b^3+4 b^3 x^2} \, dx,x,\sqrt {1+a^2+2 a b x+b^2 x^2}\right )\\ &=-\frac {\tanh ^{-1}\left (\sqrt {1+a^2+2 a b x+b^2 x^2}\right )}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 19, normalized size = 0.70 \begin {gather*} -\frac {\tanh ^{-1}\left (\sqrt {(a+b x)^2+1}\right )}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [B] time = 0.49, size = 112, normalized size = 4.15 \begin {gather*} \frac {\left (\sqrt {b^2}+b\right ) \tanh ^{-1}\left (-\sqrt {a^2+2 a b x+b^2 x^2+1}+a+\sqrt {b^2} x\right )}{b \sqrt {b^2}}+\frac {\left (b-\sqrt {b^2}\right ) \tanh ^{-1}\left (\sqrt {a^2+2 a b x+b^2 x^2+1}+a-\sqrt {b^2} x\right )}{b \sqrt {b^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.41, size = 66, normalized size = 2.44 \begin {gather*} -\frac {\log \left (-b x - a + \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1} + 1\right ) - \log \left (-b x - a + \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1} - 1\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.33, size = 89, normalized size = 3.30 \begin {gather*} \frac {\log \left (\frac {{\left | -2 \, {\left (x {\left | b \right |} - \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )} b - 2 \, a {\left | b \right |} - 2 \, {\left | b \right |} \right |}}{{\left | -2 \, {\left (x {\left | b \right |} - \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )} b - 2 \, a {\left | b \right |} + 2 \, {\left | b \right |} \right |}}\right )}{{\left | b \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 24, normalized size = 0.89 \begin {gather*} -\frac {\arctanh \left (\frac {1}{\sqrt {\left (x +\frac {a}{b}\right )^{2} b^{2}+1}}\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.93, size = 14, normalized size = 0.52 \begin {gather*} -\frac {\operatorname {arsinh}\left (\frac {1}{{\left | b x + a \right |}}\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {1}{\left (a+b\,x\right )\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a + b x\right ) \sqrt {a^{2} + 2 a b x + b^{2} x^{2} + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________